package com.mobile.service.dto;

import com.mobile.service.dto.base.BaseDTO;
import com.mobile.service.dto.base.PageDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

// Function DTO
@EqualsAndHashCode(callSuper = true)
@Data
public class FunctionDTO extends BaseDTO {
    @Schema(description = "功能ID", accessMode = Schema.AccessMode.READ_ONLY)
    private Integer functionId;
    @Schema(description = "功能名称")
    private String functionName;
    @Schema(description = "功能级别")
    private Integer functionLevel;
    @Schema(description = "排序号")
    private Integer sortNo;
    @Schema(description = "图标名称")
    private String icoName;
    @Schema(description = "是否有效")
    private String isEffective;
    @Schema(description = "功能URL")
    private String functionUrl;
    @Schema(description = "父功能ID")
    private Integer parentId;
    @Schema(description = "是否为应用功能")
    private String appFunc;
    @Schema(description = "是否为告警功能")
    private String isAlarmFunc;
    @Schema(description = "权限")
    private String permis;
    @Schema(description = "数据库字段")
    private String databaseField;
    @Schema(description = "子菜单")
    private List<FunctionDTO> children;;


}

